package com.report.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author summer
 * @since 2024/06/30 21:03:56
 */
@Getter
@Setter
@TableName("research_report")
public class Report implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标题
     */
    @TableField(value = "name",updateStrategy = FieldStrategy.IGNORED)
    private String name;

    /**
     * 作者
     */
    @TableField(value = "auth",updateStrategy = FieldStrategy.IGNORED)
    private String auth;

    /**
     * 标签主键
     */
    @TableField(value = "file_id",updateStrategy = FieldStrategy.IGNORED)
    private Integer fileId;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;

    /**
     * 创建时间
     */
    @TableField("createTime")
    private LocalDateTime createTime;

    /**
     * 图片地址
     */
    @TableField("image")
    private String image;

    /**
     * 证券主键
     */
    @TableField(value = "security_id",updateStrategy = FieldStrategy.IGNORED)
    private Integer securityId;

    /**
     * 近期热点主键
     */
    @TableField(value = "type_id",updateStrategy = FieldStrategy.IGNORED)
    private Integer typeId;

    /**
     * 研报行业主键
     */
    @TableField(value = "industry_id",updateStrategy = FieldStrategy.IGNORED)
    private Integer industryId;

    /**
     * 1是 2否 今日推荐
     */
    @TableField("todaySell")
    private Integer todaySell;

    /**
     * 1是2否 热门榜单
     */
    @TableField("ranking")
    private Integer ranking;

    /**
     * 研报类型
     */
    @TableField(value = "recentId",updateStrategy = FieldStrategy.IGNORED)
    private Integer recentId;

    /**
     * 1报告 2图表
     */
    @TableField("separate")
    private Integer separate;


    @TableField("bers_state")
    private Integer bersState;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String context;

    @TableField("security")
    private Integer security;

    @TableField("browse_num")
    private Integer browseNum;


    private Integer deep;

    private Integer language;
}
